package com.ahui.mallchat.common.common.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * Author:ahui
 * Description:
 * Date: 2024/7/21 21:45
 */
@Slf4j
public class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {

    @Override
    public void uncaughtException(Thread t, Throwable e) {
        log.error("Exception in thread:{}",e);
    }
}
